<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Administration</title>
	<link rel="shortcut icon" type="image/x-icon" href="{$theme}img/favicon.ico" /> 
	{foreach from=$css_files item=css}
<link href="{$css}" rel="stylesheet" type="text/css" />
	{/foreach}
	{foreach from=$js_files item=js}
<script src="{$js}" type="text/javascript"></script>
	{/foreach}
</head>
<body>
<div id="layer" style="display:none;"></div>
<div id="header" name="">
<ul>
	<li><a href="http://www.avancecms.ch" target="_blank" style="padding:0px; height:57px;"><img src="{$theme}img/avance_logo.png" border="0" /></a></li>
	<li class="fakea">{$smarty.session.user->firstname} {$smarty.session.user->lastname}<br />{$smarty.session.user->mail}</li>
	<li><a href="#ajax=profile_edit" onclick="BkLoader.Load('profile_edit');"><img align="absbottom" src="{$theme}img/icons/gear.png" border="0" /> Profil Bearbeiten</a></li>
	<li><a href="#ajax=dashboard" onclick="BkLoader.Load('dashboard');"><img align="absbottom" src="{$theme}img/icons/house.png" border="0" /> Dashboard</a></li>
	<li class="logout"><a href="{$host}?controller=login&method=logout"><img align="absbottom" src="{$theme}img/icons/logout.png" border="0" /> Ausloggen</a></li>
</ul>
</div>

<div id="outer_wrap">
<div id="wrap">
	<div id="container">
		<div id="left">
			<ul id="nav">
				
				{foreach from=$internal_nav item=i_nav}
				<li class="bg">{$i_nav.title}
					<ul>
						{foreach from=$i_nav.subs item=a_item}
						
							{if $i_nav.id == 4}
							<li onmouseover="Backend.navOver({$a_item->id})" onmouseout="Backend.navOver({$a_item->id})"> 
								<a href="#ajax={$a_item->method}{if $a_item->extras neq null}&{$a_item->extras}{/if}" onclick="BkLoader.{if $a_item->extras neq null}Get('{$a_item->extras}').{/if}Load('{$a_item->method}')">{$a_item->title}</a>
								<div id="ov_{$a_item->id}" style="display:none;" class="overAtt"><div class="overAttInline"><a href="#ajax={$a_item->method}" onclick="BkLoader.{if $a_item->extras neq null}Get('{$a_item->extras}').{/if}Load('devmod_add')"><img src="{$theme}img/edit.png" border="0" /></a></div></div> 
							</li>
							{else}
							<li>
								<a href="#ajax={$a_item->method}{if $a_item->extras neq null}&{$a_item->extras}{/if}" onclick="BkLoader.{if $a_item->extras neq null}Get('{$a_item->extras}').{else}Get('').{/if}Load('{$a_item->method}')">{$a_item->title}</a>
							</li>
							{/if}
						{/foreach}
						
					</ul>
				</li>
				{/foreach}
			
			</ul>
		</div>
		
		<div id="right">
		<div style="display:none;" id="corner_loader"><img src="{$theme}img/loading_corner.gif" border="0" /></div>
		<div id="dynamic_content"></div>